package com.mac.intellect_flow.flowable.model.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * 流程任务
 *
 * @author mac
 */
@Data
@Schema(name = "工作流任务相关--请求参数")
public class FlowTaskVo implements Serializable {

    private static final long serialVersionUID = -6011693361174828447L;
    @Schema(description = "任务Id")
    private String taskId;

    @Schema(description ="用户Id")
    private String userId;

    @Schema(description ="任务意见")
    private String comment;

    @Schema(description ="流程实例Id")
    private String instanceId;

    @Schema(description ="节点")
    private String targetKey;


    @Schema(description ="流程部署ID")
    private String deploymentId;


    @Schema(description ="流程环节定义ID")
    private String defId;

    @Schema(description ="子执行流ID")
    private String currentChildExecutionId;

    @Schema(description ="子执行流是否已执行")
    private Boolean flag;

    @Schema(description ="流程变量信息")
    private Map<String, Object> variables;

    @Schema(description ="审批人")
    private String assignee;

    @Schema(description ="候选人")
    private List<String> candidateUsers;

    @Schema(description ="审批组")
    private List<String> candidateGroups;

    @Schema(description ="抄送用户Id")
    private List<Long> copyUserIds;
}
